<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
    
    *{
        padding: 0;
        margin: 0;
    }

    
      .div {
        width: 1000px;
        height: 600px;
        background-color: cornflowerblue;
        position: relative;
        
      }

      .div1 {
        height: 200px;
        width: 200px;
        background-color: crimson;
        left:0;
        position: absolute;
        transition: left 3s;
       
    
      }
    </style>
  </head>
  <body>
    <div class="div">
      <div class="div1"></div>
    </div>

    <script src="./lib/jquery-1.10.1.js"></script>
    <script>

        $(function(){
            $(".div1").css('left',800);

        })

     



    </script>
  </body>
</html>
